const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  overallLoading: state => state.app.overallLoading,

  token: state => state.user.token,
  avatar: state => state.user.avatar,
  roles: state => state.user.roles,
  empNo: state => state.user.userInfo.username,
  userPerm: state => state.user.userPerm,

  permission_routes: state => state.permission.routes,
  tabsOption: state => state.tabs.tabsOption,
  tabsCurrentIndex: state => state.tabs.tabsCurrentIndex
};
export default getters;
